package ots.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class modifyForm extends ActionForm{
	private String student_name;
	private String student_realname;
	private String student_email;
	private String student_phone;
	public void setStudent_name(String student_name) {
		this.student_name = student_name;
	}
	public String getStudent_name() {
		System.out.println(student_name);
		return student_name;
	}
	public void setStudent_realname(String student_realname) {
		this.student_realname = student_realname;
	}
	public String getStudent_realname() {
		System.out.println(student_realname);
		return student_realname;
	}
	public void setStudent_email(String student_email) {
		this.student_email = student_email;
	}
	public String getStudent_email() {
		System.out.println(student_email);
		return student_email;
	}
	public void setStudent_phone(String student_phone) {
		this.student_phone = student_phone;
	}
	public String getStudent_phone() {
		return student_phone;
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
		try{
			request.setCharacterEncoding("utf-8");
		}
		catch (Exception e){
			
		}
	}

}
